<%@ page import="com.bdqn.dao.NewTypeDao" %>
<%@ page import="com.bdqn.pojo.NewType" %><%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2023/9/1
  Time: 9:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<% String id=request.getParameter("id");
//根据ID 查询实体数据
    NewType pojo=NewTypeDao.getObj(id);

    request.setAttribute("id",id);
    request.setAttribute("pojo",pojo);

%>

<html>
<head>
    <title>Title</title>
</head>

<body>
<jsp:include page="Top.jsp"></jsp:include>
类型管理修改
<hr />
   <form action="utype" method="post">
       <input type="hidden" name="id" value="${id}">
       <table>
           <tr><td>名称:</td><td><input value="${pojo.name}"  type="text" name="nn"></td></tr>
           <tr><td colspan="2">
               <input type="submit" value="修改">
           </td></tr>
       </table>
   </form>

<jsp:include page="Bom.jsp"></jsp:include>
</body>
</html>
